//Naming
Name Dicker Max
ShortName Dicker Max
ItemID 33334
//Visuals
Icon icondickermax
Model CowPack.dickermax
Texture skindickermax
//Third Person Camera Distance
CameraDistance 7.5
//Throttle
MaxThrottle 0.6
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -32 -8 -18
WheelPosition 1 -32 -8 18
WheelPosition 2 32 -8 18
WheelPosition 3 32 -8 -18
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
//Inventory Slots
CargoSlots 5
ShellSlots 5
//Driver and passenger positions
Driver 0 18 0 -2 2 -15 12
RotatedDriverOffset 1 0 -11
Passengers 0
Passenger 1 10 28 0 turret -360 360 -15 60 type99 Type-99
GunOrigin 1 10 24 0
RotatedPassengerOffset 1 0 0 0
BarrelPosition 83 32 0
AllowAllAmmo False 
AddAmmo 105mmaphe
//Secondary gun
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 260
//Sounds
StartSound cowtankstart
StartSoundLength 20
EngineSound cowheavytankmove
EngineSoundLength 75
ShootSoundPrimary german105shell
ShootSoundSecondary BrenShoot
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 cowturret
AddRecipeParts core 1 cowchassis 12 metalcompound
AddRecipeParts leftTrack 2 cowwheel
AddRecipeParts rightTrack 2 cowwheel
//Health and collision
SetupPart leftTrack 150 -75 -9 19 121 21 8
SetupPart rightTrack 150 -75 -9 -27 121 21 8
SetupPart turret 325 -68 22 -19 74 21 38
SetupPart core 325 -68 0 -19 112 22 38
BulletDetection 7
IsExplosionWhenDestroyed true

DriverAimSpeed 1.5 2 0

TrackLinkLength 2

RightLinkPoint [42,12,-24]
RightLinkPoint [45,6,-24]
RightLinkPoint [45,6,-24]
RightLinkPoint [42,-2,-24]
RightLinkPoint [27,-9,-24]
RightLinkPoint [-54,-9,-24]
RightLinkPoint [-70,-2,-24]
RightLinkPoint [-73,2,-24]
RightLinkPoint [-73,6,-24]
RightLinkPoint [-70,10,-24]
RightLinkPoint [-48,12,-24]
RightLinkPoint [30,12,-24]
RightLinkPoint [38,14,-24]

LeftLinkPoint [42,12,24]
LeftLinkPoint [45,6,24]
LeftLinkPoint [45,6,24]
LeftLinkPoint [42,-2,24]
LeftLinkPoint [27,-9,24]
LeftLinkPoint [-54,-9,24]
LeftLinkPoint [-70,-2,24]
LeftLinkPoint [-73,2,24]
LeftLinkPoint [-73,6,24]
LeftLinkPoint [-70,10,24]
LeftLinkPoint [-48,12,24]
LeftLinkPoint [30,12,24]
LeftLinkPoint [38,14,24]

//----------------------------Damage
AddEmitter smoke 2 [-34,26,-25.25] [7,1,7] [0,0.5,0] -1 1 0 0.75 core
AddEmitter smoke 2 [-34,26,25.25] [7,1,7] [0,0.5,0] -1 1 0 0.75 core
AddEmitter smoke 2 [5,43,14] [3,1,3] [0,0.5,0] -1 1 0 0.75 turret

AddEmitter largesmoke 3 [-34,26,-25.25] [7,1,7] [0,1,0] -1 1 0 0.5 core
AddEmitter largesmoke 3 [-34,26,25.25] [7,1,7] [0,1,0] -1 1 0 0.5 core
AddEmitter largesmoke 2 [5,43,14] [3,1,3] [0,0.5,0] -1 1 0 0.5 turret

AddEmitter largesmoke 1 [-34,26,-25.25] [7,1,7] [0,1.5,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [-34,26,25.25] [7,1,7] [0,1.5,0] -1 1 0 0.25 core

AddEmitter flame 1 [-34,26,-25.25] [5,1,5] [0,1,0] -1 1 0 0.25 core
AddEmitter flame 1 [-34,26,25.25] [5,1,5] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [5,43,14] [3,1,3] [0,1,0] -1 1 0 0.5 turret

Description German Tank Destroyer_105mm APHE

//Barrel
ShootParticlesSecondary crit 0.5 0 0

ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0